package com.pxst.internalReports.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Chrissy
 * @since 2023-11-0 17:35:35
 * 虚拟银行对账单对账用表(VB999)对应的实体类
 */
@Data
@TableName(value = "`sys_bank_bill_modify`")
public class SysBankBillModifyEntity {

    /**
     * 虚拟银行Id
     */
    @TableId(value = "`id`", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 银行卡Id
     */
    @TableField(value = "`bank_card_id`")
    private Long bankCardId;

    /**
     * 转出
     */
    @TableField(value = "`debit`")
    private BigDecimal debit;

    /**
     * 转入
     */
    @TableField(value = "`credit`")
    private BigDecimal credit;

    /**
     * 对账顺序
     */
    @TableField(value = "`order`")
    private Integer order;

    /**
     * 余额
     */
    @TableField(value = "`balance`")
    private BigDecimal balance;

    /**
     * 交易时间
     */
    @TableField(value = "`transaction_date`")
    private LocalDateTime tradeTime;

    /**
     * 是否作废
     */
    @TableField(value = "`void`")
    private Integer void_;

    /**
     * 创建人
     */
    @TableField(value = "`creator`")
    private String creator;

    /**
     * 创建时间
     */
    @TableField(value = "`created_at`")
    private LocalDateTime createdAt;

    /**
     * 更新人
     */
    @TableField(value = "`updater`")
    private String updater;

    /**
     * 更新时间
     */
    @TableField(value = "`updated_at`")
    private LocalDateTime updatedAt;
}
